package com.waverider.promotion.biz.dao;

import com.waverider.promotion.domain.ShopDO;

/**
 * 
 * @author sihai
 *
 */
public interface ShopDAO
{
	/**
	 * 
	 * @param shop
	 */
	void insert(ShopDO shop);
	
	/**
	 * 
	 * @param sellerId
	 */
	ShopDO queryBySellerId(Long sellerId);
	
	/**
	 * 
	 * @param shopId
	 * @return
	 */
	ShopDO queryByShopId(Long shopId);
	
	/**
	 * 
	 * @param shop
	 * @return
	 */
	boolean update(ShopDO shop);
	
	/**
	 * 
	 * @param id
	 * @return
	 */
	boolean delete(Long id);
}
